package com.miao.mapper;

import com.miao.dto.CourseCategoryDto;
import com.miao.pojo.CourseCategory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 课程分类 Mapper 接口
 * </p>
 *
 * @author author
 * @since 2023-12-21
 */
@Mapper
public interface CourseCategoryMapper extends BaseMapper<CourseCategory> {

    //递归查询分类,id代表从哪里开始递归查询
    public List<CourseCategoryDto> queryCourseCategory(String id);


}
